const path = require("path");
const config = {
	rootPath: path.resolve("./"),
	post: 1920,
	statusDirPath: "/public",
	secretKey: "Charge__Secret__Key",
	wx: {
		appId: "wx9f3f70fb220f3a4d", // 填写你微信小程序的appId
		appSecret: "4c239e768e8b6656632f9b2f4145349b", // 填写你微信小程序的appSecret
	},
	// localhost
	database: {
		host: "localhost",
		database: "charge",
		username: "root",
		password: "123456",
		port: "3306",
	},
	noTokenUrl: ["/user/login", "/wx/login"],
};

module.exports = config;
